/**
 * Copyright 2018 asiainfo Inc.
 **/
package com.myz.service.hystrix.service;

import java.util.concurrent.Future;

/**
 * @author maoyz on 2018/9/7
 * @version: v1.0
 */
public interface IHelloServcie {

    String index();

    String indexSemaphore();

    Future<String> batch(Integer id);

    String circuit(Integer id);

    default String showThread() {
        System.out.println("showThread ThreadName = " + Thread.currentThread().getName());
        return null;
    }
}
